<template>
  <div class="page-content">
    <div class="tips">
      <img src="@/assets/images/page/404.png"/>
      <div class="right-wrap">
        <p>抱歉，你访问的页面不存在</p>
        <el-button type="primary" @click="goHomePage">返回首页</el-button>
      </div>
    </div>


  </div>
</template>

<script>
  export default {
    name: "404",
    methods: {
      /**
       * 跳转到首页中
       */
      goHomePage() {
        this.$router.push('/home')
      }
    }
  }
</script>

<style scoped>

  .page-content {
    width: 100%;
    height: 100%;
  }
  .page-content .tips {
    width: 630px;
    margin: auto;
    margin-top: 25vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .page-content .tips img {
    width: 300px;
    height: 180px;
  }
  .page-content .tips .right-wrap p {
    color: #808695;
    font-size: 20px;
    line-height: 28px;
  }
  .page-content .tips .right-wrap .el-button {
    margin-top: 20px;
  }
  .page-content .bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    margin: auto;
    text-align: center;
  }
  .page-content .bottom a {
    color: #808695;
    font-size: 15px;
    text-decoration: none;
    margin-right: 30px;
  }
  .page-content .bottom a:last-of-type {
    margin-right: 0;
  }

</style>
